__global__ void averageAxisOri(AxisOrientation_t* d_axisOri)
{
	int index = (blockIdx.x * blockDim.x + threadIdx.x);

	if(d_axisOri[index].votes != 0)
	{
//		printf("made it in averageAxisOri!!\n");
		d_axisOri[index].a     /= d_axisOri[index].votes;
		d_axisOri[index].b     /= d_axisOri[index].votes;
		d_axisOri[index].c     /= d_axisOri[index].votes;
		d_axisOri[index].alpha /= d_axisOri[index].votes;
		d_axisOri[index].beta  /= d_axisOri[index].votes;
		d_axisOri[index].theta /= d_axisOri[index].votes;
	}


}
